package com.dlsp.hotel.service.impl;

import com.dlsp.hotel.bean.RoomType;
import com.dlsp.hotel.mapper.RoomTypeMapper;
import com.dlsp.hotel.service.RoomTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author:fanxh
 * @date: 2022/1/1/20:13
 */
@Service
public class RoomTypeServiceimpl implements RoomTypeService {
    @Autowired
    private RoomTypeMapper roomTypeMapper;

    @Override
    public int add(RoomType roomType) {
        return 0;
    }

    @Override
    public int edit(RoomType roomType) {
        return 0;
    }

    @Override
    public int delete(Long id) {
        return 0;
    }

    @Override
    public List<RoomType> findList(Map<String, Object> queryMap) {
        return null;
    }

    @Override
    public List<RoomType> findAll() {
        List<RoomType> roomTypeList = roomTypeMapper.findAll();
        return roomTypeList;
    }

    @Override
    public Integer getTotal(Map<String, Object> queryMap) {
        return null;
    }

    @Override
    public RoomType find(Long id) {
        return null;
    }

    @Override
    public int updateNum(RoomType roomType) {
        return 0;
    }
}
